#ifndef LIGHT_MANAGER
#define LIGHT_MANAGER

#include <vector>
#include <osg/LightSource>
#include <osg/Light>
#include "Lightenums.h"

using std::vector;

class LightManager {
public:

	LightManager(osg::Group* root);
	~LightManager();
	osg::Light* getOrCreateLight(const LIGHTNUMBER number);
    
private:
    osg::Group * groupOfLights;
    vector<osg::LightSource*>   lights;
};

#endif
